﻿@* This has to be name TextEdit because Razor(not Blazor) still doesn't support case sensitive components. *@
@typeparam TValue
@inherits Blazorise.BaseNumericEdit<TValue>
@if ( !HasCustomRegistration )
{
    <input @ref="ElementRef" @ref:suppressField id="@ElementId" inputmode="numeric" class="@ClassMapper.Class" style="@StyleMapper.Style" placeholder="@Placeholder" disabled="@IsDisabled" readonly="@IsReadonly" step="@Step" pattern="@Pattern" value="@Value" @onchange="@HandleOnChange" @oninput="@HandleOnInput" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}